package com.security.service;

import com.security.pojo.User;

import java.util.List;

public interface UserService {

    //根据用户名查询密码
    User login(String username);

    List<String> findRolesByUser(User user);
    List<String> findResourcesByUser(User user);

}
